#ifndef SIMULATIONWINDOW_HH
#define SIMULATIONWINDOW_HH

#include "Window.h"

#include <QtGui>
#include "NewParameters.h"

class SimulationWindow : public Window
{
  Q_OBJECT

protected:
  QComboBox *simChoice;
  QLineEdit *timeWindow,*timeStep,*maxTimeStep;
  QDoubleSpinBox *limTorque;
  QSpinBox *temperature,*nbrun,*tolerance;
  QCheckBox *initialAngle,*trajAverage,*phdAverage,*variousFields;
  QComboBox *yAxis;

public:
  QComboBox *xAxis;
  SimulationWindow();

  virtual ~SimulationWindow();
  NewParameters getParameters(NewParameters params);
  int getSimChoice();
  QComboBox *getXAxis();
  void loadParameters(NewParameters params);
  bool getPhDAverage(),getTrajAverage(),getVariousFields(),getAngle();

public slots:
  void emitSimChoice(int choice);
  void emitPhDChoice(int choice);
  void emitHChoice();

signals:
  void loopHChoice();
  void loopIChoice();
  void astroidChoice();
  void loopLengthChoice();
  void constantHChoice();
  void constantIChoice();
  void constantLengthChoice();
};

#endif
